<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" href="/风车.svg" />
    
    <!-- 预连接CDN域名，提升加载速度 -->
    <link rel="preconnect" href="https://cdn.jsdelivr.net">
    <link rel="preconnect" href="https://cdnjs.cloudflare.com">
    <link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
    <link rel="dns-prefetch" href="https://cdnjs.cloudflare.com">
    
    <!-- 关键CSS，优先加载 -->
    <link rel="preload" href="/app-loading.css" as="style">
    <link rel="stylesheet" href="/app-loading.css" />
    
    <!-- CDN样式库 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/qweather-icons@1.6.0/font/qweather-icons.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
    
    <!-- 生产环境CDN样式 -->
    <!-- VITE_CDN_CSS -->
    
    <title>%VITE_APP_TITLE%</title>
  </head>
  <body>
    <div id="app">
      <div id="app-loading"></div>
    </div>
    
    <!-- 生产环境CDN脚本 -->
    <!-- VITE_CDN_JS -->
    
    <!-- 专业工具库 -->
    <script src="https://cdn.jsdelivr.net/npm/echarts@5.6.0/dist/echarts.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
    
    <script>
      // 初始化highlight.js
      if (typeof hljs !== 'undefined') {
        hljs.highlightAll();
      }
    </script>
    
    <!-- Iconfont 图标库脚本 -->
    <script src="//at.alicdn.com/t/c/font_4891404_lwu8dma1tx.js"></script>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
